Optimal. Leaf size=59 \[ \frac {a p x^2}{4 b}-\frac {p x^4}{8}-\frac {a^2 p \log \left (a+b x^2\right )}{4 b^2}+\frac {1}{4} x^4 \log \left (c \left (a+b x^2\right )^p\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 59, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {2504, 2442, 45}
\begin {gather*} -\frac {a^2 p \log \left (a+b x^2\right )}{4 b^2}+\frac {1}{4} x^4 \log \left (c \left (a+b x^2\right )^p\right )+\frac {a p x^2}{4 b}-\frac {p x^4}{8} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 2442
Rule 2504
Rubi steps
\begin {align*} \int x^3 \log \left (c \left (a+b x^2\right )^p\right ) \, dx &=\frac {1}{2} \text {Subst}\left (\int x \log \left (c (a+b x)^p\right ) \, dx,x,x^2\right )\\ &=\frac {1}{4} x^4 \log \left (c \left (a+b x^2\right )^p\right )-\frac {1}{4} (b p) \text {Subst}\left (\int \frac {x^2}{a+b x} \, dx,x,x^2\right )\\ &=\frac {1}{4} x^4 \log \left (c \left (a+b x^2\right )^p\right )-\frac {1}{4} (b p) \text {Subst}\left (\int \left (-\frac {a}{b^2}+\frac {x}{b}+\frac {a^2}{b^2 (a+b x)}\right ) \, dx,x,x^2\right )\\ &=\frac {a p x^2}{4 b}-\frac {p x^4}{8}-\frac {a^2 p \log \left (a+b x^2\right )}{4 b^2}+\frac {1}{4} x^4 \log \left (c \left (a+b x^2\right )^p\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 59, normalized size = 1.00 \begin {gather*} \frac {a p x^2}{4 b}-\frac {p x^4}{8}-\frac {a^2 p \log \left (a+b x^2\right )}{4 b^2}+\frac {1}{4} x^4 \log \left (c \left (a+b x^2\right )^p\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 0.33, size = 1190, normalized size = 20.17
method | result | size |
risch | \(\text {Expression too large to display}\) | \(1190\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 55, normalized size = 0.93 \begin {gather*} \frac {1}{4} \, x^{4} \log \left ({\left (b x^{2} + a\right )}^{p} c\right ) - \frac {1}{8} \, b p {\left (\frac {2 \, a^{2} \log \left (b x^{2} + a\right )}{b^{3}} + \frac {b x^{4} - 2 \, a x^{2}}{b^{2}}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 57, normalized size = 0.97 \begin {gather*} -\frac {b^{2} p x^{4} - 2 \, b^{2} x^{4} \log \left (c\right ) - 2 \, a b p x^{2} - 2 \, {\left (b^{2} p x^{4} - a^{2} p\right )} \log \left (b x^{2} + a\right )}{8 \, b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.89, size = 65, normalized size = 1.10 \begin {gather*} \begin {cases} - \frac {a^{2} \log {\left (c \left (a + b x^{2}\right )^{p} \right )}}{4 b^{2}} + \frac {a p x^{2}}{4 b} - \frac {p x^{4}}{8} + \frac {x^{4} \log {\left (c \left (a + b x^{2}\right )^{p} \right )}}{4} & \text {for}\: b \neq 0 \\\frac {x^{4} \log {\left (a^{p} c \right )}}{4} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.79, size = 97, normalized size = 1.64 \begin {gather*} \frac {2 \, {\left (b x^{2} + a\right )}^{2} p \log \left (b x^{2} + a\right ) - {\left (b x^{2} + a\right )}^{2} p + 2 \, {\left (b x^{2} + a\right )}^{2} \log \left (c\right )}{8 \, b^{2}} + \frac {{\left (b x^{2} - {\left (b x^{2} + a\right )} \log \left (b x^{2} + a\right ) + a\right )} a p - {\left (b x^{2} + a\right )} a \log \left (c\right )}{2 \, b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.22, size = 51, normalized size = 0.86 \begin {gather*} \frac {x^4\,\ln \left (c\,{\left (b\,x^2+a\right )}^p\right )}{4}-\frac {p\,x^4}{8}-\frac {a^2\,p\,\ln \left (b\,x^2+a\right )}{4\,b^2}+\frac {a\,p\,x^2}{4\,b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________